home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software Vault: The Gold Collection
/
Software Vault - The Gold Collection (American Databankers) (1993).ISO
/
cdr49
/
273_01.zip
/
FILEXIST.CC
< prev
next >
Wrap
Text File
|
1993-04-04
|
242b
|
13 lines
#include <dir.h>
file_exist(char *fn)
/* Check to see of a Find exists.
RETURN 1 if exist 0 if not.
*/
{
struct ffblk fb;
int rc;
rc=findfirst(fn,&fb,0);
if(rc==0) return(1);
return(0);
}